{% extends 'social_base.html' %}
{% load static %}
{% block title %}
{{ username }}的留言板
{% endblock %}

{% block head %}
<style>
    body {
        font-family: 'Arial', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
        background-image: url('{% static 'images/img.png'%}');
        background-size: cover;
    }

    .container {
        max-width: 1200px;
        /* 设置最大宽度，根据需要调整 */
        background-color: whitesmoke;
        /* 背景颜色，根据需要调整 */
        border-radius: 10px;
        /* 容器的圆角，根据需要调整 */
        margin-bottom: 10px;

    }
</style>
{% endblock %}

{% block body %}
<div class="profile-container">
    <h1>{{ username }}的留言板</h1>
    <form method="post" action="{% url 'huifu' sender_username=sender_username receiver_username=receiver_username %}">
        {% csrf_token %}
        <textarea name="message_content" required></textarea>
        <button type="submit">回复留言</button>
    </form>

    <a href="{% url 'friend_messages' username=sender_username %}">取消</a>
</div>
{% endblock %}